﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Telerik.Windows.Controls;
using Telerik.Windows;

namespace FIFP.DashBoard.Views
{
    public partial class AllControls : UserControl
    {
        string accountTypeStr = "PREMIUM";
        public AllControls()
        {
            InitializeComponent(); 
            //this.accountType.Text = accountTypeStr;
            
        }

        private void OnRadMenuItemClick(object sender, RadRoutedEventArgs e)
        {
            RadMenuItem item = e.OriginalSource as RadMenuItem;

            if (item != null)
            {
                switch (item.Name)
                {
                    case "upgradeToSilver": 
                        accountTypeStr = "SILVER";
                        ShowClickedItem();
                        break;
                    case "upgradeToGold": 
                        accountTypeStr = "GOLD";
                        ShowClickedItem();
                        break;
                    case "downgradeToBusiness": 
                        accountTypeStr = "BUSINESS";
                        ShowClickedItem();
                        break;
                    case "downgradeToPersonal": 
                        ShowClickedItem();
                        break;
                    case "upload": 
                        ShowClickedItem();
                        break;
                    case "myTeamDocs":
                        ShowClickedItem();
                        break;
                    case "eBooks":
                        ShowClickedItem();
                        break;
                    case "help":
                        ShowClickedItem();
                        break;
                    case "space": ShowStats();
                        break;
                    case "baird":
                    case "boatner":
                    case "barnett":
                    case "roland":
                    case "smith":
                    case "brinke": 
                        ShowClickedItem();
                        break;
                    default: 
                        ShowClickedItem();
                        break;
                }
            }
           // accountType.Text = accountTypeStr;
        }

        private void ShowClickedItem()
        {
            
        }

        private void ShowStats()
        {
            
        }
    }
}
